//
//  HLIMKItRealVoiceContainer.h
//  YueYue
//
//  Created by hulu001 on 2024/1/12.
//

#import <UIKit/UIKit.h>
#import "HLIMInputViewProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@protocol HLIMKItRealVoiceContainerDelegate <NSObject>
/// 点击“说完了” 开始翻译，外界翻译完成，通过handler驱动本Container结束动画
/// @param handler 外界驱动
- (void)imkit_FinishedSpeakWithHandler:(void (^)(BOOL re))handler;

- (void)imkit_realVoiceWillSend;

/// 获取数据源
- (NSArray *)imkit_languagesForRealVoice;

- (void)imkit_didSelectedLanguage:(NSInteger)index;

@end

@interface HLIMKItRealVoiceContainer : UIView

@property (assign,  nonatomic) id<HLIMKItRealVoiceContainerDelegate> delegate;

@property (assign,  nonatomic) HLIMRealVoiceStatus status;

- (void)changeValue:(CGFloat)value;

@end

NS_ASSUME_NONNULL_END
